package com.zhongxi.guoyuan.service;

/**
 * Created by Administrator on 2017/12/25.
 */

public class Data {

    /**
     * code : 1
     * data : {"id":"20","title":"热烈庆祝互联网+网络美容院即将隆重上线开业\t","description":"热烈庆祝互联网+网络美容院即将隆重上线开业\t","ctime":"2017-12-18 15:06:31","isdeleted":"0"}
     * safeobj : {"now":"1514195474.718068","key":"f186ff91e51f9f53f09147e8a4aaf1a3","safestring":"fdf1cb1967cc1ddb7ad476d61265103e"}
     */

    private int code;
    private DataBean data;
    private SafeobjBean safeobj;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public SafeobjBean getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(SafeobjBean safeobj) {
        this.safeobj = safeobj;
    }

    public static class DataBean {
        /**
         * id : 20
         * title : 热烈庆祝互联网+网络美容院即将隆重上线开业
         * description : 热烈庆祝互联网+网络美容院即将隆重上线开业
         * ctime : 2017-12-18 15:06:31
         * isdeleted : 0
         */

        private String id;
        private String title;
        private String description;
        private String ctime;
        private String isdeleted;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getIsdeleted() {
            return isdeleted;
        }

        public void setIsdeleted(String isdeleted) {
            this.isdeleted = isdeleted;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    ", description='" + description + '\'' +
                    ", ctime='" + ctime + '\'' +
                    ", isdeleted='" + isdeleted + '\'' +
                    '}';
        }
    }

    public static class SafeobjBean {
        /**
         * now : 1514195474.718068
         * key : f186ff91e51f9f53f09147e8a4aaf1a3
         * safestring : fdf1cb1967cc1ddb7ad476d61265103e
         */

        private String now;
        private String key;
        private String safestring;

        public String getNow() {
            return now;
        }

        public void setNow(String now) {
            this.now = now;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getSafestring() {
            return safestring;
        }

        public void setSafestring(String safestring) {
            this.safestring = safestring;
        }

        @Override
        public String toString() {
            return "SafeobjBean{" +
                    "now='" + now + '\'' +
                    ", key='" + key + '\'' +
                    ", safestring='" + safestring + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "Data{" +
                "code=" + code +
                ", data=" + data +
                ", safeobj=" + safeobj +
                '}';
    }
}
